import {createStore} from 'vuex'

let store =createStore({
	state(){
		return {
			num:1
		}
	},
	mutations:{
		addNum(state,p){
			state.num+=p
		}
	}
	
})

export default store